package org.ainlolcat.ainscience.column.threshold;

import org.ainlolcat.Variable;
import org.ainlolcat.ainscience.entity.Entity;

/**
 * @author ainlolcat
 *         Date: 5/5/13
 */
public abstract class ContextLessThreshold extends AbstractThreshold {

    public ContextLessThreshold(int type, double value, boolean filter, boolean local) {
        super(type, value, filter, local);
    }

    public abstract boolean isExceed(Variable variable);

    public boolean isExceed(Entity entity, int column, int row) {
        return isExceed(getValue(entity, column, row));
    }
}
